home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / MLT / VideoIN folder.sit / VideoIN folder / scripting / AppleScript for VideoIN starter next >
Text File  |  1996-11-03  |  1KB  |  33 lines

  1. --
  2. -- please don't modify anything outside the "your own stuff" block
  3. -- VideoIN itself doesn't understand the AppleEvents stuff from its
  4. -- Video Input window.
  5. -- Also, if you modify the VideoIN file itself it's posible that it
  6. -- will stop working.
  7. --
  8. tell application "VideoIN"
  9.     make new document
  10.     set theWin to window "Video Input"
  11.     select theWin
  12.     tell theWin
  13.         activate
  14.         -- place here your own stuff
  15.         -- the following is an example of what can you do.
  16.         
  17.         videoin full -- sets the video input window to full size
  18.         videoin two -- sets the video input window to half size
  19.         videoin four -- sets the video input window to 1/4 size
  20.         videoin eight -- sets the video input window to 1/8 size
  21.         videoin sixteen -- sets the video input window to 1/16 size
  22.         videoin rgb -- sets the input mode to rgb color
  23.         videoin saveframe -- saves an input video frame
  24.         videoin grayscale -- sets the video input to black and white video
  25.         videoin saveframe -- save a frame
  26.         videoin full -- let's be nice here... reset to full size and rgb color
  27.         videoin rgb -- being nice
  28.         close -- close the video window
  29.         
  30.         -- End of your own stuff
  31.         --
  32.     end tell
  33. end tell